package com.zpkj.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import com.zpkj.service.impl.ComputerRibbonService;

/**
 * Created on 2018/5/28.
 */
@RestController
public class ComputerRibbonController {

	@Autowired
	private ComputerRibbonService computeService;

	@RequestMapping(value = "/ribbonAdd",method = RequestMethod.GET)
    public String ribbonAdd(@RequestParam(name="a") Integer a, @RequestParam(name="b") Integer b){
    	return computeService.add(a,b);
    }

}
